package Task02_1;

public class Coder {
    private int number ;
    private int salary;
    private String name;
    public Coder(){

    }
    public Coder(int number, int salary,String name) {
        this.number = number;
        this.salary = salary;
        this.name = name;
    }

    public int getNumber() {
        return number;
    }

    public void setNumber(int number) {
        this.number = number;
    }

    public int getSalary() {
        return salary;
    }

    public String getName() {
        return name;
    }

    public void setName(String name) {
        this.name = name;
    }

    public void setSalary(int salary) {
        this.salary = salary;
    }
    public void work(){
        System.out.println("工号为" + number +"基本工资为"+salary +"程序员"+ name +"正在努力的写着代码");
    }
}
